<template>
    <view class="content" >
      <uniPopup background-color="rgba(255,255,255,0)" ref="inputDialog"  type="dialog" >
        <div class="mboxContent">
          <div class="main">
            <img src="/static/img/toright.png" alt="" class="rightimg">
            <div class="mainText">提交成功</div>
          </div>
        
         
          <div class="btn">
            <div class="fail btnItem">返回</div>
            <div class="success btnItem">查看信息</div>
  
          </div>
        </div>
          
              </uniPopup>
    </view>
  </template>
  
  <script>
  
  import uniPopup from "@/uni_modules/uni-popup/components/uni-popup/uni-popup.vue";
  export default {
      components:{
      uniPopup
    },
    props: {
      titles: {
        type: String,
      },
      isOpen: {
        type: Boolean,
      },
    },
    data() {
      return {
        title: "",
      
      };
    },
  
    onLoad() {},
    methods: {
      toClose(){
        this.$emit('closeAll',true)
        this.$refs.inputDialog.close()
      }
     
     
    },
  };
  </script>
  
  <style scoped >
  
  .mboxContent{
    text-align: center;
   
    background: white;
    box-sizing: content-box;
    /* padding:24px; */
    width: 540rpx;
    border-radius: 20px;
  
  }
  .main{
    min-height: 274rpx;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
  }
  .mainText{
    font-family: Source Han Sans CN, Source Han Sans CN;
  font-weight: bold;
  font-size: 34rpx;
  color: #262626;
  font-style: normal;
  }
  .rightimg{
width: 145rpx;
height: 121rpx;
margin:0 auto 32rpx
  }
  .btn{
    width: 100%;
    display: flex;
    box-sizing: border-box;
    padding:18rpx 0;
  display: flex;
  border-top: 2rpx solid #CBCBCB;
  }
  .fail{
    position: relative;
  
  }
  .fail::before{
    content: '';
    position: absolute;
    display: inline-block;
    width: 2rpx;
    background:  #CBCBCB;
    height: 86rpx;
      top: -20rpx;
      right: 0;
  }
  .btnItem{
    text-align: center;
      width: 49%;
      font-family: Source Han Sans CN, Source Han Sans CN;
  font-weight: bold;
  font-size: 32rpx;
  color: #0098C9;
  font-style: normal;
    }
  
  
  
  </style>
  